package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.UserLikesExpert;
import org.hxyjs.page.PageInfo;

public interface UserLikesExpertService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<UserLikesExpert> getAllUserLikesExperts() throws Exception;

    /**
     * 删除学生
     * @param ulikeexpertno
     * @return
     * @throws Exception
     */
    public DTO<UserLikesExpert> deleteUserLikesExpertByUlikeexpertno(String ulikeexpertno) throws Exception;
    /**
     *  修改学生
     * @param userLikesExpert
     * @return
     */
    public DTO<UserLikesExpert> updateUserLikesExpertByUlikeexpertno(UserLikesExpert userLikesExpert)  throws Exception;
    /**
     *  增加学生
     * @param userLikesExpert
     * @return
     */
    public DTO<UserLikesExpert> addUserLikesExpert(UserLikesExpert userLikesExpert)  throws Exception;

    /**
     * 根据主键查询学生
     * @param ulikeexpertno
     * @return
     * @throws Exception
     */
    public DTO<UserLikesExpert> getUserLikesExpertByUlikeexpertno(String ulikeexpertno) throws Exception;

    /**
     *分页查询
     * @param pageInfo
     * @return
     * @throws Exception
     */
     public DTO<UserLikesExpert> getUserLikesExpertByPage(PageInfo pageInfo, String cacheId) throws Exception;

     public DTO<UserLikesExpert> getUserLikesExpertByPage(PageInfo pageInfo) throws Exception;



}
